package cn.white.ymc.mvvmmaster.data.api;

import cn.white.ymc.mvvmmaster.data.bean.UserInfo;
import retrofit2.Call;
import retrofit2.http.GET;
import retrofit2.http.Path;

/**
 * @packageName: cn.white.ymc.mvvmdemo.data.util
 * @fileName: ApiStore
 * @date: 2018/11/5  17:14
 * @author: ymc
 * @QQ:745612618
 */

public interface ApiStore {

    @GET("/users/{username}")
    Call<UserInfo> queryUserByUsername(@Path("username") String username);
}
